/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "整车成本模板表",TableName = "yjy_whole_cost_template")]
    public partial class yjy_whole_cost_template:BaseEntity
    {
        /// <summary>
       ///研究院整车成本模板表id
       /// </summary>
       [Key]
       [Display(Name ="研究院整车成本模板表id")]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid yjy_whole_cost_template_id { get; set; }

       /// <summary>
       ///模板类型
       /// </summary>
       [Display(Name ="模板类型")]
       [Column(TypeName="int")]
       public int? type { get; set; }

       /// <summary>
       ///模板层级对应唯一值
       /// </summary>
       [Display(Name ="模板层级对应唯一值")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string unique_value { get; set; }

       /// <summary>
       ///序号
       /// </summary>
       [Display(Name ="序号")]
       [Column(TypeName="int")]
       public int? serial_number { get; set; }

       /// <summary>
       ///模板层级
       /// </summary>
       [Display(Name ="模板层级")]
       [Column(TypeName="int")]
       public int? level { get; set; }

       /// <summary>
       ///模板描述
       /// </summary>
       [Display(Name ="模板描述")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string describe { get; set; }

       /// <summary>
       ///创建人名称
       /// </summary>
       [Display(Name ="创建人名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人名称
       /// </summary>
       [Display(Name ="修改人名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyDate { get; set; }

       
    }
}